﻿using IXION.BLOG.DAO.BLOG;
using System;
using System.Collections.Generic;
using System.Text;

namespace IXION.BLOG.SERVICE.COMMON
{
    public class CommonService
    {
        protected CommonDao dao = new CommonDao();

        /// <summary>
        /// 
        /// </summary>
        /// <param name="p">过滤标识 1未过期 2全部 3过期</param>
        /// <returns></returns>
        public IList<DOMAIN.BLOG.Countdown> LoadCountdowns(int p)
        {
            return dao.LoadCountdowns(p);
            //throw new NotImplementedException();
        }

        public IList<DOMAIN.BLOG.Mp3> LoadMp3s()
        {
            return dao.LoadMp3s();
            //throw new NotImplementedException();
        }
    }
}
